const { app } = require("electron");
const CustomWindow = require("./src/electron/customWindow");
const setAppMenu = require("./src/electron/menu");
const eventHandle = require("./src/electron/eventHandle");

function createMainWindow() {
  new CustomWindow({}, "http://localhost:3000/");
}

app.whenReady().then(() => {
  createMainWindow();
  eventHandle();
  setAppMenu();
});
